Autogenerated HTML docs for v1.5.6.1-156-ge903b
diff --git a/git-update-ref.html b/git-update-ref.html index 4cab62f..5cd132f 100644 --- a/git-update-ref.html +++ b/git-update-ref.html
@@ -272,17 +272,17 @@ </div> <h2>SYNOPSIS</h2> <div class="sectionbody"> -<p><em>git-update-ref</em> [-m <reason>] (-d <ref> [<oldvalue>] | [--no-deref] <ref> <newvalue> [<oldvalue>])</p> +<p><em>git update-ref</em> [-m <reason>] (-d <ref> [<oldvalue>] | [--no-deref] <ref> <newvalue> [<oldvalue>])</p> </div> <h2>DESCRIPTION</h2> <div class="sectionbody"> <p>Given two arguments, stores the <newvalue> in the <ref>, possibly -dereferencing the symbolic refs. E.g. <tt>git-update-ref HEAD +dereferencing the symbolic refs. E.g. <tt>git update-ref HEAD <newvalue></tt> updates the current branch head to the new object.</p> <p>Given three arguments, stores the <newvalue> in the <ref>, possibly dereferencing the symbolic refs, after verifying that the current value of the <ref> matches <oldvalue>. -E.g. <tt>git-update-ref refs/heads/master <newvalue> <oldvalue></tt> +E.g. <tt>git update-ref refs/heads/master <newvalue> <oldvalue></tt> updates the master branch head to <newvalue> only if its current value is <oldvalue>. You can specify 40 "0" or an empty string as <oldvalue> to make sure that the ref you are creating does @@ -302,7 +302,7 @@ <p>In general, using</p> <div class="literalblock"> <div class="content"> -<pre><tt>git-update-ref HEAD "$head"</tt></pre> +<pre><tt>git update-ref HEAD "$head"</tt></pre> </div></div> <p>should be a _lot_ safer than doing</p> <div class="literalblock"> @@ -321,7 +321,7 @@ <h2>Logging Updates</h2> <div class="sectionbody"> <p>If config parameter "core.logAllRefUpdates" is true or the file -"$GIT_DIR/logs/<ref>" exists then <tt>git-update-ref</tt> will append +"$GIT_DIR/logs/<ref>" exists then <tt>git update-ref</tt> will append a line to the log file "$GIT_DIR/logs/<ref>" (dereferencing all symbolic refs before creating the log name) describing the change in ref value. Log lines are formatted as:</p> @@ -360,7 +360,7 @@ </div> <div id="footer"> <div id="footer-text"> -Last updated 23-Jun-2008 07:13:36 UTC +Last updated 02-Jul-2008 03:02:06 UTC </div> </div> </body>